<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Pos?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<VBox xmlns:fx="http://javafx.com/fxml" fx:controller="com.sikhyeon.datastructure.controller.LinkedListController" spacing="10" alignment="CENTER">
    <StackPane fx:id="messagePane" alignment="TOP_CENTER">
        <Label fx:id="messageLabel" text="" style="-fx-background-color: white; -fx-padding: 5px; -fx-border-color: black;"/>
    </StackPane>
    <HBox alignment="CENTER" spacing="10">
        <VBox alignment="CENTER" spacing="10">
            <Button text="Add" onAction="#addValue"/>
            <Button text="Remove" onAction="#removeValue"/>
            <Button text="Reset" onAction="#resetLinkedList"/>
            <Button text="Back" onAction="#goBack"/>
        </VBox>
    </HBox>
    <Pane fx:id="linkedListContainer" prefHeight="400" prefWidth="600">
        <!-- Linked List elements will be displayed here -->
    </Pane>
</VBox>
